import App from './App'
import store from './store'
// import goPage from "./utils/utils.js"
// #ifndef VUE3
// import Vue from 'vue'
// import uView from './uni_modules/vk-uview-ui';
Vue.use(uView);
// Vue.config.productionTip = false
Vue.prototype.$store = store
// Vue.prototype.$goPage = goPage
// Vue.prototype.$adpid = "1111111111"
Vue.prototype.$backgroundAudioData = {
	playing: false,
	playTime: 0,
	formatedPlayTime: '00:00:00'
}

App.mpType = 'app'
const app = new Vue({

	store,
	...App

})

app.$mount()
// #endif

// #ifdef VUE3

import {
	createSSRApp
} from 'vue'
// import {
// 	goPage
// } from "utils/Tonavigate/Tonavigate.js";
export function createApp() {
	const app = createSSRApp(App)
	// app.config.globalProperties.$goPage = goPage;
	app.use(store)
	app.config.globalProperties.$adpid = "1111111111"

	app.config.globalProperties.$backgroundAudioData = {
		playing: false,
		playTime: 0,
		formatedPlayTime: '00:00:00'
	}
	return {
		app
	}
}
// #endif
